package org.feiye.studyday17;

public class Udisk implements USB {
	private String brand;

	public Udisk(String brand) {
		this.brand = brand;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	@Override
	public void connneted() {
		System.out.println(brand + "U盘接入设备口，准备读写。。。");

	}

	public void read() {
		System.out.println("开始读取数据。。。");
	}

	public void write() {
		System.out.println("修改数据内容。。。");
	}

	@Override
	public void disconneted() {
		System.out.println("移除U盘");

	}

}
